package com.hmy.cornpestdet.mapper;

import com.hmy.cornpestdet.pojo.User;
import com.hmy.cornpestdet.utils.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@Mapper
public interface AdminUserInfoMapper {

    public List<User> getAllUser();

    public int deleteUserByUid(int uid);

    public User getUserByUid(int uid);

    public int addUser(User user);

    public int updateUserByUid(int uid, String username,String password,String phoneNumber);
}
